const Router = require("koa-router");
const youxiaController = require("../controller/youxia_controller");
const youxiaRouter = new Router();

youxiaRouter.get("/gameNews", youxiaController.getYouxiaGameNews);
youxiaRouter.get("/gameJudge", youxiaController.getYouxiaGameJudge);
youxiaRouter.get("/gamePre", youxiaController.getYouxiaGamePre);
youxiaRouter.get("/gameJudgeCard", youxiaController.getYouxiaGameJudgeCard);
youxiaRouter.get("/gameRanking", youxiaController.getYouxiaGameRanking);
youxiaRouter.get("/gameCard", youxiaController.getYouxiaGameCard);
youxiaRouter.get("/steamRanking", youxiaController.getYouxiaSteamRanking);
youxiaRouter.get("/recentGame/:id", youxiaController.getYouxiaRecentGame);
youxiaRouter.get("/allGame/:page", youxiaController.getYouxiaAllGame);

module.exports = youxiaRouter;
